package com.zzy.mccjt.retelimiter.method;

/**
 * @program: mccjt-cloud
 * @description: 限流常量
 * @author: zhouyang.zheng
 * @create: 2022-08-01 15:51
 **/
public interface LimiterConstants {
    String UNDEFINED_STRING = "$$undefined$$";

    /**
     * 判断是否未定义值
     * @param value
     * @return
     */
    static boolean isUndefined(String value) {
        return UNDEFINED_STRING.equals(value);
    }
}
